x86/time: avoid redundant this_cpu()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Mar 2014 09:55:56 +0000 (10:55 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Mar 2014 09:55:56 +0000 (10:55 +0100)
commit58bebfdb790c5639d28d5e1b5fd49a3352c5fc25
tree5f8b34cf873712affa1a8cf9759eec036033d90c
parente72747e2d1d67818d56eacbc9a8423c4259b64ca
x86/time: avoid redundant this_cpu()

this_cpu() makes use of RELOC_HIDE() to prevent unsafe optimisations, forcing
a recalculation of the per-cpu data area.  Don't use it needlessly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c